package ZooManager;

/**
* User: James Barker
* Date: 14/08/12
*/
public class Entry {
    String entryType;
    boolean entryOpen;


    /**
    * Entry Constructor
    */
    public Entry(String doorType) {
        this.entryType = doorType;
        entryOpen = false;
    }

    public String getEntryType() {
        return entryType;
    }

    public Boolean isEntryOpen() {
        return entryOpen;
    }

    public void openEntry() {
        entryOpen = true;
    }

    public void closeEntry() {
        entryOpen = false;
    }
}
